package com.itheima.service;

import com.itheima.domain.FlashPromotionProductRelation;
import com.itheima.domain.Product;
import com.itheima.vo.PageBeanVo;

public interface SmsFlashPromotionProductRelationService {
    //分页查询不同场次关联及商品信息
    PageBeanVo list(Integer pageNum, Integer pageSize, Integer flashPromotionId, Integer flashPromotionSessionId);

    //根据id查询
    Product getProductById(Long id);

    //批量选择商品添加关联
    void create(FlashPromotionProductRelation relation);

    //删除关联
    void delete(Integer id);

    //修改关联信息
    void update(FlashPromotionProductRelation relation);

    //获取管理商品促销信息
    FlashPromotionProductRelation selectById(Integer id);
}
